class Content < ActiveRecord::Base

  belongs_to :user
  has_many :forums
  has_many :didatic_materials
  has_many :answer_contents
  
  validates_presence_of :mime_type
  validates_presence_of :name
  validates_presence_of :user

end
